//
//  YZClient+FreeExperience.h
//  YZMicroStock
//
//  Created by apple on 2017/10/31.
//  Copyright © 2017年 cqjr. All rights reserved.
//



@interface YZNetworkManager (FreeExperience)

/**
 *  获取免费体验股票购买配置参数（跟用户相关）
 *
 *  @param success
 *  @param failure
 */
- (void)freeEx_getConfigureDataSuccess:(void (^)(NSURLResponse *response,id responseObject))success failure: (void (^)(NSError *error))failure;

/**
 *  免费体验发起点买
 *
 *  @param dic     参数
 *  @param success
 *  @param failure
 */

- (void)freeEx_createStrategyWithParams:(NSMutableDictionary *)dic success:(void (^)(NSURLSessionDataTask *task,id responseObject))success failure: (void (^)(NSError *error))failure;

/**
 *  免费体验获取点卖列表
 *
 *  @param dic     参数
 *  @param success
 *  @param failure
 */
- (void)freeEx_getSaleListFirstWithParamsuccess:(void (^)(NSURLSessionDataTask *, id))success failure:(void (^)(NSError *))failure;


/**
 *  免费体验点卖交易
 *
 *  @param tid             交易ID
 *  @param alwaysCloseFlag 是否递延
 *  @param success
 *  @param failure
 */
- (void)freeEx_closeTradeWithID:(long long)tid  success:(void (^)(NSURLResponse *, id))success failure:(void (^)(NSError *))failure;

/**
 *  免费体验获取清算列表
 *
 *  @param dic     参数
 *  @param success
 *  @param failure
 */

- (void)freeEx_getSettleListWithParamsuccess:(void (^)(NSURLSessionDataTask *task,id responseObject))success failure: (void (^)(NSError *error))failure;





@end
